﻿using System;
namespace ProjectCloth.Entity
{
    public class SaleOrderItem
    {
        public int Id { get; set; }
        /// <summary>
        /// 单据id
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        ///过账时间
        /// </summary>
        public DateTime? TransferItemsTime { get; set; }
        /// <summary>
        /// 生成日期
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public int OrderType { get; set; }
        ///// <summary>
        ///// 客户id
        ///// </summary>
        //public int CustomerId { get; set; }
        /// <summary>
        ///客户姓名
        /// </summary>
        public string CustormerName { get; set; }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public int CreatorId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatorName { get; set; }
        /// <summary>
        /// 经手人ID
        /// </summary>
        public int MakerId { get; set; }
        /// <summary>
        /// 经手人
        /// </summary>
        public string MakerName { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string TouchorName { get; set; }
        /// <summary>
        /// 制单人id
        /// </summary>
        public int TouchorId { get; set; }
        /// <summary>
        ///  过账人id
        /// </summary>
        public int? TransferItemsorId { get; set; }
        /// <summary>
        /// 过账人
        /// </summary>
        public string TransferItemsorName { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 色号
        /// </summary>
        public string ColorType { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }
        /// <summary>
        /// 当前单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int Unit { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 销售条目状态
        /// </summary>
        public int OrderItemStatus { get; set; }
        public DateTime InMoneyDate { get; set; }
    }
}